package com.xinyue.sparkle.dao;

import java.util.List;

import com.xinyue.sparkle.bean.User;


public interface UserDao {

	//save
	public void save(User user);
	public void saveOrUpdate(User user);
	//update
	public void update(User user);

	//delete
	public void delete(User user);
	public void delete(List<User> user);
	public void deleteById(int id);
	
	//query
	public List<User> queryAll();
	public List<User> queryUser(User user);
	public User queryUserbyId(int id);
	
}
